Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --version to CLI. Also print the about text in the --help output #29

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

faern
Copy link
Member

@faern faern commented Nov 29, 2024

I realized that unicop --version gave an error. I think that's pretty uncommon and not very nice. The fix is very simple as you can see.

I also opted to include the about text in the help output. I just think this makes the tool nicer to use and explore. Some of the most rudimentary docs about the tool then come shipped with it. The about text is simply automatically taken from the description field in Cargo.toml

Copy link
Member

@gregoire-mullvad gregoire-mullvad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@faern faern merged commit 0113b37 into main Nov 29, 2024
12 checks passed
@faern faern deleted the cli-version-and-about branch November 29, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants